package njitzx;

public class HumanImpl implements Human {
    private String name;
    private int age;
    public HumanImpl() {

    }
    // Setter 方法用于反射设置属性
    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public void introduce() {
        System.out.println("I am a human.");
    }
}
/*

 */
